home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
1833
/
1833.xpi
/
chrome
/
yoono.jar
/
content
/
yoono
/
yoonoOverlay.xul
< prev
Wrap
Extensible Markup Language
|
2009-12-16
|
10KB
|
183 lines
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="chrome://yoono/skin/yoono.css" type="text/css"?>
<?xml-stylesheet href="chrome://yoono/skin/toolbar-button.css" type="text/css"?>
<?xml-stylesheet href="chrome://yoono/skin/recoTooltip.css" type="text/css"?>
<?xul-overlay href="chrome://yoono/content/bkmMenus.xul"?>
<!DOCTYPE overlay [
<!ENTITY % hop SYSTEM "chrome://yoono/locale/yoono.dtd" >
%hop;
<!ENTITY % tac SYSTEM "chrome://yoono/locale/yoono-links.dtd" >
%tac;
]>
<overlay id="yoonoOverlay"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:html="http://www.w3.org/1999/xhtml">
<toolbarpalette id="BrowserToolbarPalette">
<!-- Bouton toggle sidebar -->
<toolbarbutton type="menu-button" id="yoono-toggle-sb"
tooltiptext="&sbtbtoggle.label;"
oncommand="yoonoGlob.toggleSb(event)"
>
<menupopup onpopupshowing="YOONO_CMPT.addStat(['clic', 'menu', 'yoonobutton']);">
<menuitem id="yoono-mymemos-menuitem" label="&menu.mymemos.label;" accesskey="&menu.mymemos.accesskey;"
oncommand="YOONO_CMPT.loginMyYoonoPages('webnote', event)"
hidden="true"
tooltiptext="&menu.mymemos.tooltiptext;"/>
<menu label="&menu.open.label;" accesskey="&menu.open.accesskey;"
tooltiptext="&menu.open.tooltiptext;">
<menupopup>
<menuitem label="&menu.openfriends.label;" accesskey="&menu.openfriends.accesskey;"
oncommand="yoonoGlob.openYoodget('{friends@yoono.com}')"
tooltiptext="&menu.openfriends.tooltiptext;"/>
<menuitem label="&menu.opendiscoveries.label;" accesskey="&menu.opendiscoveries.accesskey;"
oncommand="yoonoGlob.openYoodget('{discoveries@yoono.com}')"
tooltiptext="&menu.opendiscoveries.tooltiptext;"/>
</menupopup>
</menu>
<menuitem label="&menu.openshare.label;" accesskey="&menu.openshare.accesskey;"
oncommand="yoonoGlob.openShare()"
tooltiptext="&menu.openshare.tooltiptext;"/>
<menu id="menu-yoolink"
label="&yoono-links.main-button-label;"
tooltiptext=""
accesskey="">
<menupopup id="yoono-links-menu-main-button">
<menuitem type="checkbox" label="&yoono-links.enable;"
pref="enable"
oncommand="yoonoLinks.action(this)"
tooltiptext=""/>
<menuseparator />
<menuitem type="checkbox"
label="&yoono-links.display-in-sidebar;" pref="display-in-sidebar"
oncommand="yoonoLinks.action(this)" />
</menupopup>
</menu>
<menuseparator />
<menuitem label="&menu.homepage.label;" accesskey="&menu.homepage.accesskey;"
oncommand="openUILink('http://www.yoono.com', event)"
onclick="checkForMiddleClick(this, event)"
tooltiptext="&menu.homepage.tooltiptext;"/>
<menuitem label="&menu.terms-of-use.label;" accesskey="&menu.terms-of-use.accesskey;"
oncommand="openUILink('http://www.yoono.com/terms.html', event)"
onclick="checkForMiddleClick(this, event)"
tooltiptext="&menu.terms-of-use.tooltiptext;"/>
<menuitem label="&menu.privacy.label;" accesskey="&menu.privacy.accesskey;"
oncommand="openUILink('http://www.yoono.com/privacy.html', event)"
onclick="checkForMiddleClick(this, event)"
tooltiptext="&menu.privacy.tooltiptext;"/>
<menuitem label="&menu.help.label;" accesskey="&menu.help.accesskey;"
oncommand="openUILink('http://www.yoono.com/help.html', event)"
onclick="checkForMiddleClick(this, event)"
tooltiptext="&menu.help.tooltiptext;"/>
<menuseparator/>
<menu label="&menu.more.label;" accesskey="&menu.more.accesskey;"
tooltiptext="&menu.more.tooltiptext;">
<menupopup>
<menuitem id="yoono-chpasswd-menuitem"
label="&menu.chpasswd.label;" accesskey="&menu.chpasswd.accesskey;"
oncommand="ynOpenChrome('changepasswd', null)"
tooltiptext="&menu.chpasswd.tooltiptext;"/>
<menuitem label="&menu.uninstall.label;"
oncommand="yoonoObserver.uninstallFromButton()"
onclick="checkForMiddleClick(this, event)"
tooltiptext="&menu.uninstall.tooltiptext;"/>
</menupopup>
</menu>
</menupopup>
</toolbarbutton>
</toolbarpalette>
<popup id="contentAreaContextMenu">
<menuitem class="yoono-context-menuitem menu-iconic" oncommand="yoonoGlob.openShare()" label="&menu.openshare.label;" insertbefore="context-bookmarkpage"/>
<menu class="yoono-context-menuitem menu-iconic" label="&doccontext.addtomemo.label;"
id="yoono-context-menuitem"
accesskey="&doccontext.addtomemo.accesskey;" contextmenu=""
hidden="true"
insertbefore="context-bookmarkpage">
<menupopup name="mainPopup" parent="contextmenu" onpopupshowing="yoonoGlob.showMemoContextMenu(event, this)"
onpopuphiding="yoonoGlob.hideMemoContextMenu(this)">
</menupopup>
</menu>
</popup>
<menupopup id="viewSidebarMenu">
<menuitem oncommand="yoonoGlob.sidebar.toggle()" label="Yoono" key="key_opensidebarTest"/>
</menupopup>
<hbox id="browser">
<vbox persist="hidden, width" class="chromeclass-extrachrome" id="yoono-sidebar-box" insertbefore="sidebar-box">
<browser id="yoono-sidebar" flex="1" disablehistory="true" />
</vbox>
<box persist="hidden" id="yoono-splitter" insertbefore="sidebar-box" />
</hbox>
<keyset id="mainKeyset">
<key id="key_opensidebarTest" key="Y" modifiers="accel,alt" oncommand="yoonoGlob.sidebar.toggle()" />
<key id="key_togglethin" key="T" modifiers="accel,alt" oncommand="yoonoGlob.sidebar.toggleThin()" />
</keyset>
<stringbundleset id="stringbundleset">
<stringbundle id="yoono-strings" src="chrome://yoono/locale/yoono.properties"/>
</stringbundleset>
<!-- FF2 -->
<menupopup id="menu_BookmarksPopup">
<menu position="4" label="Yoono" id="yoono-bkm-menu" accesskey="&bkm.menu.accesskey;" contextmenu="">
<menupopup>
<menuitem id="yoono-options-menuitem" label="&menu.options.label;" accesskey="&menu.options.accesskey;"
tooltiptext="&menu.options.tooltiptext;"
oncommand="yoonoGlob.sidebar.showManageBookmarks()"/>
<menuseparator/>
<menuitem label="&yoono.restorebmarks.label;" accesskey="&yoono.restorebmarks.accesskey;" tooltiptext="&yoono.restorebmarks.tooltip;" command="cmd_yoono_restorebmarks" />
<menuitem label="&yoono.savebmarks.label;" accesskey="&yoono.savebmarks.accesskey;" tooltiptext="&yoono.savebmarks.tooltip;" command="cmd_yoono_savebmarks" />
</menupopup>
</menu>
</menupopup>
<!-- FF3 -->
<menupopup id="bookmarksMenuPopup">
<menu position="4" label="Yoono" id="yoono-bkm-menu" accesskey="&bkm.menu.accesskey;" contextmenu="">
<menupopup>
<menuitem id="yoono-options-menuitem" label="&menu.options.label;" accesskey="&menu.options.accesskey;"
tooltiptext="&menu.options.tooltiptext;"
oncommand="yoonoGlob.sidebar.showManageBookmarks()"/>
<menuseparator/>
<menuitem label="&yoono.restorebmarks.label;" accesskey="&yoono.restorebmarks.accesskey;" tooltiptext="&yoono.restorebmarks.tooltip;" command="cmd_yoono_restorebmarks" />
<menuitem label="&yoono.savebmarks.label;" accesskey="&yoono.savebmarks.accesskey;" tooltiptext="&yoono.savebmarks.tooltip;" command="cmd_yoono_savebmarks" />
</menupopup>
</menu>
</menupopup>
<script type="application/x-javascript" src="chrome://yoono/content/utils.js"/>
<script type="application/x-javascript" src="chrome://yoono/content/sidebar.js"/>
<script type="application/x-javascript" src="chrome://yoono/content/yoonoGlobCommon.js"/>
<script type="application/x-javascript" src="chrome://yoono/content/yoonoGlobMemo.js"/>
<script type="application/x-javascript" src="chrome://yoono/content/yoonoGlobToolbar.js"/>
<script type="application/x-javascript" src="chrome://yoono/content/messageinfos.js"/>
<script type="application/x-javascript" src="chrome://yoono/content/tabbrowserListener.js"/>
<script type="application/x-javascript" src="chrome://yoono/content/yoonoOverlay.js"/>
<script type="application/x-javascript" src="chrome://yoono/content/bkmMenus.js"/>
<script type="application/x-javascript" src="chrome://yoono/content/services/connexion.js"/>
<script type="application/x-javascript" src="chrome://yoono/content/services/idle.js"/>
<!-- commandset is defined via overlay -->
<window id="main-window">
<commandset id="yoono-bkmmenus-commandset"/>
</window>
</overlay>